package indi.luckly.service;

import indi.luckly.common.request.UpDateUserInfoParams;
import indi.luckly.common.response.QueryUserBaseInfoResponseData;
import indi.luckly.common.response.ResponseResult;
import org.apache.shiro.authz.annotation.RequiresRoles;

public interface IUserService {
    /**
     * 查询用户信息
     *
     * @param userId userName
     * @return
     */
    public ResponseResult<QueryUserBaseInfoResponseData> queryUserInfo(String userId);


    /**
     * 更新用户信息
     * @param params 更新的用户信息
     * @return
     */
    public ResponseResult<?>  upDateUserInfo(UpDateUserInfoParams params);
}
